home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Games of Daze
/
Infomagic - Games of Daze (Summer 1995) (Disc 1 of 2).iso
/
x2ftp
/
msdos
/
libs
/
knowhow4
/
context.h
< prev
next >
Wrap
C/C++ Source or Header
|
1994-10-10
|
744b
|
27 lines
// Class to show context help in menus and so on
#ifndef __CONTEXT_H_
#define __CONTEXT_H_
#include "icon.h"
#include "pcx.h"
enum { NO_STATUS, MEDIUM_ICON_STATUS, SMALL_ICON_STATUS, LARGE_ICON_STATUS,
STRING_STATUS, PCX_STATUS };
class Context
{
protected:
rect statusPos; // where to show status
int statusType; // help list, icons, PCX, or something else
char** statusStrings; // status line help strings
int* statusList; // we can use one or both
public:
Context(rect STATUSPOS = rect(0, 24, 79, 25),
int STATUSTYPE = 0, char** STATUSSTRINGS = NULL,
int* STATUSLIST = NULL);
virtual void showStatus(int pos, int pat = 0);
};
#endif __CONTEXT_H_